package com.dream.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @author Dreamer
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient //该注解用于向使用consul为注册中心时注册服务
public class MainOpenFeign80 {


    public static void main(String[] args) {
        SpringApplication.run(MainOpenFeign80.class, args);
    }

}